#include <iostream>
using namespace std;

int calc(int x, char ch, int y)
{
	switch (ch)
	{
		case '+':
			return x + y;
		case '-':
			return x - y;
		case '*':
			return x * y;
		case '/':
			return x / y;
		case '%':
			return x % y;
	}
} 

int main()
{
	int a, b;
	char ch;
	cin >> a >> ch >> b;
	cout << calc(a, ch, b) << endl;
	
	return 0;
}
